/**
 * Friend class.
 * This object contains all the information needed for a User to obtain information
 * on a particular buddy/friend. 
 * 
 * @author Cynthia Truong
 */

package ece452.ims.client;

public class Friend {
	
	private String username;
	private String status;
	private String toMsg;
	private String fromMsg;	
	
	public Friend(String uname, String status){
		this.username = uname;
		this.status = status;
	}
	
	public String getUsername(){ 
		return username; 
	}
	
	public void sendMessage(String msg){
		this.toMsg = msg;
	}
	
	public String getSendMsg(){
		return this.toMsg;
	}
	
	public void getMessage(String msg){
		this.fromMsg = msg;
	}
	
	public String getGetMsg(){
		return this.fromMsg;
	}
	
	public String getStatus(){ 
		return status; 
	}
	
	public void setStatus(String status){ 
		// online / offline / squelched
		this.status = status; 	
	}
	
}
